package com.ruoyi.mapper;

import com.ruoyi.domain.BasisLoadingEnvironment;

import java.util.List;

/**
 * 案例与阵地环境关联Mapper接口
 * 
 * @author wangzebing
 * @date 2025-05-13
 */
public interface BasisLoadingEnvironmentMapper 
{
    /**
     * 查询案例与阵地环境关联
     * 
     * @param id 案例与阵地环境关联主键
     * @return 案例与阵地环境关联
     */
    public BasisLoadingEnvironment selectBasisLoadingEnvironmentById(Long id);

    /**
     * 查询案例与阵地环境关联列表
     * 
     * @param basisLoadingEnvironment 案例与阵地环境关联
     * @return 案例与阵地环境关联集合
     */
    public List<BasisLoadingEnvironment> selectBasisLoadingEnvironmentList(BasisLoadingEnvironment basisLoadingEnvironment);

    /**
     * 新增案例与阵地环境关联
     * 
     * @param basisLoadingEnvironment 案例与阵地环境关联
     * @return 结果
     */
    public int insertBasisLoadingEnvironment(BasisLoadingEnvironment basisLoadingEnvironment);

    /**
     * 修改案例与阵地环境关联
     * 
     * @param basisLoadingEnvironment 案例与阵地环境关联
     * @return 结果
     */
    public int updateBasisLoadingEnvironment(BasisLoadingEnvironment basisLoadingEnvironment);

    /**
     * 删除案例与阵地环境关联
     * 
     * @param id 案例与阵地环境关联主键
     * @return 结果
     */
    public int deleteBasisLoadingEnvironmentById(Integer groundEnvironmentId,String LoadingId);

    /**
     * 批量删除案例与阵地环境关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBasisLoadingEnvironmentByIds(Long[] ids);



    public List<BasisLoadingEnvironment> selectgroundEnvironmentIdAndcaseLoadingId(Integer groundEnvironmentId, String LoadingId);

}
